* {
    box-sizing: border-box;
}

body::-webkit-scrollbar {
    width: 10px;
    background-color: rgb(149, 200, 244);
}

body::-webkit-scrollbar-thumb {
    background-color: rgb(15, 115, 190);
    border-top: 10px solid rgb(15, 115, 190);
    border-bottom: 10px solid rgb(15, 115, 190);
    border-radius: 5px;
}

body {
    background-color: #efedd6;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow-x: hidden;
}

h1 {
    margin: 10px;
}

.box {
    background-color: steelblue;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 400px;
    height: 200px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease;
}

.box:nth-of-type(odd) {
    transform: translateX(400%);
}

.box:nth-of-type(even) {
    transform: translateX(-400%);
}

.box.show {
    transform: translateX(0);
}

.box h2 {
    font-size: 45px;
}